POV-Ray : Newsgroups : povray.general : clipped_by a textured object : Re: clipped_by a textured object Server Time
3 Aug 2024 04:13:40 EDT (-0400)
  Re: clipped_by a textured object  
From: Eamon Caddigan
Date: 3 May 2004 22:58:18
Message: <409706ca$1@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> Eamon Caddigan <eca### [at] uiucedu> wrote:
>> I'd like to use a previously-declared object with clipped_by.
>> Unfortunately this object has a texture, so of course errors are raised
>> when using it for clipping. Is there a syntax that would allow me to
>> "remove" the texture from an object, or create a new object without a
>> texture that is otherwise a copy of another?
>
>   Sorry, there's no currently a way of doing that.
>   You'll have to modify the original object to easily remove its
> texture (eg. enclose its texture definitions inside #ifdef blocks).

Thanks for the reply, even if it isn't what I wanted to hear.

Just out of curiosity (and feel free to not waste your time answering
this), why enforce the "no texture" rule for clipping objects anyway? I
can think of plenty of reasons to clip by an object that's also drawn,
and in my case (programically-created scene files), it would be pretty
convenient. I tried to think of a good reason to insist that clip
objects not be textured from POV-Ray's standpoint, but couldn't come up
with anything.

-Eamon


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.